package com.sz.biz.common.contract.dto;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * Package: com.sz.biz.common.contract.dto<br>
 * Function:合同方dto
 * Author: yanhong.xiao.<br>
 * Date: 2017-07-19 15:53:00.
 */
public class ContContractorDto implements Serializable {

    private Integer id;

    private Integer type;

    private Integer relId;

    /**
     * 合同方的类型，1=甲方，2=乙方
     */
    @NotNull(message = "validate.notnull")
    private Integer contractorType;

    private String name;

    private String signName;

    private String address;

    private String contact;

    private String bankAccount;

    private String bankName;

    private String authDelegate;

    private Date signTime;

    private String signTimeStr;

    public String getSignTimeStr() {
        return signTimeStr;
    }

    public void setSignTimeStr(String signTimeStr) {
        this.signTimeStr = signTimeStr;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getContractorType() {
        return contractorType;
    }

    public void setContractorType(Integer contractorType) {
        this.contractorType = contractorType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getAuthDelegate() {
        return authDelegate;
    }

    public void setAuthDelegate(String authDelegate) {
        this.authDelegate = authDelegate;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getRelId() {
        return relId;
    }

    public void setRelId(Integer relId) {
        this.relId = relId;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }
}
